package com.dreamwhale.machinery.controller;


import com.dreamwhale.machinery.config.DataResult;
import com.dreamwhale.machinery.service.UserApplyService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.xml.crypto.Data;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author Author
 * @since 2020-06-13
 */
@RestController
@RequestMapping("/userApply")
public class UserApplyController {

    @Resource
    private UserApplyService userApplyService;

    @RequestMapping("inquiryApplyInfo")
    /**
     * @MethodName : inquiryApplyInfo
     * @Description : 查询报名信息
     * @param :
     * @Author : DragonUncle
     * @Data : 10:47 2020/7/2
     * @return :
     */
    public DataResult inquiryApplyInfo() {
        return userApplyService.inquiryApplyInfo();
    }

}

